
#ifndef _INTERLOCKED_H__INCLUDED_
#define _INTERLOCKED_H__INCLUDED_

namespace nebula { namespace utility {

long InterlockedIncrement(long volatile *addend);
long InterlockedDecrement(long volatile *addend);
long InterlockedCompareExchange(long volatile *target, long exchange, long comparand);

}} // namespace nebula::utility

#endif // _INTERLOCKED_H__INCLUDED_

